package org.example.physics_engine.collision.detector;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.example.physics_engine.geometry.shapes.AbstractShape;

/**
 * 碰撞检测结果
 */
@Data
@AllArgsConstructor
public class DetectorResult {

    //是否发生碰撞
    private boolean hasCollision;

    //近似图形（适用于扇形）
    private AbstractShape approximateShape;
}
